/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tofc.chart;

/**
 * AreaChart:
 * @author zzn
 */
public class Area extends BaseLine {

    private String fill;
    private Number fillAlpha;

    /**
     *
     */
    public Area() {
        this.setType("area");
        this.fillAlpha = 0.5;
        this.fill = "#555555";
    }

    /**
     *
     * @return fill the colour of the area.
     */
    public String getFill() {
        return fill;
    }

    /**
     * set the colour of the area.
     * @param fill
     */
    public void setFill(String fill) {
        this.fill = fill;
    }

    /**
     *
     * @return fillAlpha the alpha of the area.
     */
    public Number getFillAlpha() {
        return fillAlpha;
    }

    /**
     * set the alpha of the area.
     * @param fillAlpha
     */
    public void setFillAlpha(Number fillAlpha) {
        this.fillAlpha = fillAlpha;
    }
}
